package Calculadora;

/**
*
* @author Erick_Giovanni
*/
public class CosenoInverso extends OperacionUnaria {

  public CosenoInverso(Operacion op1) {
      super(op1);
  }

  public Number Acos() {
  return Math.acos(op1.Operar().doubleValue());
  }

  @Override
  public Number Operar() {
  return Acos();
  }

  
  @Override
  public String toString(){
      return "Acos(" + op1.toString() + ") ";
  }
}

